/*
 * Copyright(c)2018,2024,guowenmeng24@163.comAllrightsreserved.
 */
package bkhech.generator.mp.controller;

import bkhech.generator.mp.service.GenTableService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * GeneratorMpController
 *
 * @author guowm
 * @date 2024/07/23
 */
@RequiredArgsConstructor
@RestController
@RequestMapping("/gen")
public class GeneratorMpController {

    final GenTableService genTableService;

    @RequestMapping
    public String gen() {
        genTableService.generatorCode();
        return "success";
    }

}